package info.pinlab.pinplayer.io;

import info.pinlab.pinplayer.cache.CacheManager;


public interface JsonAdapterIF {
	public String toJson(Object obj);
	public String toJson(Object obj, Class<?> clazz);
	public <T> T fromJson(Class<T> clazz, String json);
	
	public String getTag4Clazz (Class<?> clazz);
	public void addTag2Clazz (String tag, Class<?> clazz);
	
	public void setCacheManager(CacheManager cacheManager);
}
